package com.bgs.controller;


import com.bgs.common.R;
import com.bgs.service.FocusOnService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 关注表 前端控制器
 * </p>
 *
 * @author Asia
 * @since 2021-09-14
 */
@RestController
@RequestMapping("/bgs/focus-on")
public class FocusOnController {
    @Autowired
    private FocusOnService focusOnService;

    @GetMapping("/ThreeStoreBeforeUser")
    public R ThreeStoreBeforeUser(String beforeUserId) {
        return focusOnService.ThreeStoreBeforeUser(beforeUserId);
    }

    @GetMapping("/ThreeUserStore")
    public R ThreeUserStore(String beforeUserId) {
        return focusOnService.ThreeUserStore(beforeUserId);
    }
}

